-
Notifications
You must be signed in to change notification settings - Fork 121
DRAFT Разбор запросов к внешним источникам данных (bsl-parser), новые тесты в bsl-language-server #2959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
|
@ovcharenko-di |
|
@theshadowco вспомнить бы, чего там осталось сделать Судя по всему, осталось научить диагностику работать с таблицами, кубами, таблицами измерений и тд. И вот с ними как раз была какая-то засада, по-моему, связанная с mdclasses Не гарантирую, что смогу снова погрузиться в ближайшее время, но попробую это сделать |
|
Можно для начала тесты долить |
|
@ovcharenko-di |
52459f2 to
293e844
Compare
WalkthroughA test file for the QueryToMissingMetadata diagnostic was updated to expect four diagnostics instead of two. The test now anticipates two additional diagnostics for a non-existent metadata reference "ВнешнийИсточникДанных.ВнешнийИсточникДанных2" with corresponding range duplications. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (4)**/*.java📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/diagnostics/*.java📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/diagnostics/*Test.java📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/test/java/**/*.java📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-11-27T07:17:33.726ZApplied to files:
📚 Learning: 2025-11-27T07:17:33.726ZApplied to files:
📚 Learning: 2025-11-27T07:17:33.726ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
@coderabbitai generate docstrings |
✅ Actions performedInitiated docstring generation; will generate only if new commits exist. |
|
Caution Docstrings generation - FAILED No docstrings were generated. |











Описание
Новая версия bsl-parser корректно разбирает SDBL, содержащие обращения к внешним источникам данных.
В bsl-language-server добавлена зависимость от этой версии, а в сам проект добавлены соответствующие позитивные и негативные тесты.
Ожидаю, когда изменения по PR 1c-syntax/bsl-parser#219 попадут в develop, после чего в текущем PR заменю версию парсера на "официальную".
Связанные задачи
Closes #2282
Чеклист
Общие
gradlew precommit)Для диагностик
Дополнительно
Проверка существования таблиц, кубов, таблиц измерений и их таблиц пока не реализована. Проверяется только существование самих внешних источников данных.
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.